package org.emavaj.common;

import java.util.Date;
import java.util.Random;

public class MathUtil {
	
	private static Random rand = new Random();
	
	public static int getRandomInt(int max) {
		return rand.nextInt(max);
	}
	
	public static void updateRandomSeed() {
		rand.setSeed(new Date().getTime());
	}
}
